<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Food Store</title>
<meta name="description" content="">
<meta name="author" content="">

<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

<!-- Le styles -->
<link
	href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css"
	rel="stylesheet">
<style type="text/css">
body {
	padding-top: 60px;
	padding-bottom: 40px;
}
</style>
<link
	href="http://twitter.github.com/bootstrap/assets/css/bootstrap-responsive.css" rel="stylesheet">

<!-- Le fav and touch icons -->
</head>
<script
	src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<body>

	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a class="btn btn-navbar" data-toggle="collapse"
					data-target=".nav-collapse"> <span class="icon-bar"></span> <span
					class="icon-bar"></span> <span class="icon-bar"></span>
				</a> <a class="brand" href="#">Food Store</a>
				<div class="nav-collapse">
					<ul class="nav">
						<li><a href="<%=request.getContextPath()%>/main/home.htm">Home</a></li>
						<c:choose>
							<c:when test="${usuario.tipoUsuario == 2}">
								<li><a href="<%=request.getContextPath()%>/plato/ingresar.htm">Registrar Plato</a></li>
							</c:when>
							<c:when test="${usuario.tipoUsuario == 1}">
								<li><a href="<%=request.getContextPath()%>/restaurant/asociarInitial.htm">Asociar Restaurante</a></li>
							</c:when>
						</c:choose>
						<li><a href="#contact">Contact</a></li>
					</ul>
					<c:choose>
						<c:when test="${login=='true'}">
							<p class="navbar-text pull-right">
								<a href="#">Bienvenido&nbsp;${usuario.nombres}</a>&nbsp;<a
									href="<%=request.getContextPath()%>/login/salir.htm">Salir</a>
							</p>
						</c:when>
						<c:otherwise>
							<p class="navbar-text pull-right">
								&nbsp;<a
									href="<%=request.getContextPath()%>/login/registrar.htm">Registrarte</a>
							</p>
							<form action="<%=request.getContextPath()%>/login/autenticar.htm"
								class="navbar-text pull-right" method="post">
								<input type="text" name="inputUsuario" class="input-small"
									placeholder="Email"> <input type="password"
									name="inputPwd" class="input-small" placeholder="Password">
								<button type="submit" class="btn">Ir</button>
							</form>
						</c:otherwise>
					</c:choose>

				</div>
				<!--/.nav-collapse -->
			</div>
		</div>
	</div>

	<div class="container">